import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

const FundUpdateByInput: FC<any> = props => {
	const { formatMessage } = useLocale()
	const { label, placeholder, updateName } = props
	return (
		<SFormItem name={updateName ?? "updateBy"} label={`${formatMessage({ id: label ?? "label.update_by" })}:`}>
			<Input placeholder={formatMessage({ id: placeholder ?? "label.updateBy" })} />
		</SFormItem>
	)
}

export default FundUpdateByInput
